package ControlLayer;

import java.util.ArrayList;

import ModelLayer.*;

public interface IFCreate {
	public int getNextContactId(); //valid for Customer, Business and Employee
	public int getNextProductId();
	public int getNextDeliveryId();
	public int getNextSalesOrderId();
	public int createCustomer(Contact customer) throws Exception;
	public int createOrder(SalesOrder salesOrder) throws Exception;
	public int createDelivery(Delivery delivery) throws Exception;
	public int createEmployee(Employee employee) throws Exception;
	public int createProduct(Product product) throws Exception;
	public double calculateTotal(ArrayList<SalesLine> salesLine);
}
